home *** CD-ROM | disk | FTP | other *** search
- Short: BigNum package (PPC+68k)
- Author: unknown
- Uploader: info@ar-kleinert.de
- Type: dev/c
-
- *************************************************************************
-
- Routines to do Big Number Arithmetic. These are multi-precision, unsigned
- natural numbers (0, 1, 2, ...).
-
- Released to the public domain by Clifford Rhodes, June 15, 1995, with
- no guarantees of any sort as to accuracy or fitness of use.
-
- Each int in the Big Number array will hold a digit up to MODULUS - 1.
- Choosing 10000 makes testing easy because each digit contains 4 decimal
- places.
-
- The Big Number is contained in a structure that has a length, nlen, and
- an array, n[], of unsigned shorts to hold the 'digits'. The most
- significant digit of the big number is at n[0]. The least significant
- digit is at n[nlen - 1];
-
- *************************************************************************
-
- The Amiga 68k/PPC version comes with both, makefiles for 68k and PPC,
- and test programs for both CPUs.
-
- Note, that the test program doesn't seem to do anything useful as
- far as user interaction is concerned: it just tests its internal
- routines and then waits for a key to be pressed.
-
- (Originally it would have run in an endless loop, but due to a missing
- kbhit() function it's now just a single loop.)
-
- If someone has need for large unsigned numbers (or likes to extend
- this to signed numbers) - well...
-
- --
- ARK, 29/May/2000
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 1369 659 51.8% 29-May-00 18:49:54 +bignum.h
- 1414 748 47.1% 29-May-00 19:07:38 +bignum.readme
- 6056 1548 74.4% 29-May-00 18:49:52 +bignum1.c
- 6726 1769 73.6% 29-May-00 18:49:52 +bignum2.c
- 13156 8412 36.0% 29-May-00 18:59:58 +bigtest
- 4900 1541 68.5% 29-May-00 18:49:52 +bigtest.c
- 41796 19120 54.2% 29-May-00 18:58:40 +bigtest.elf
- 831 388 53.3% 29-May-00 18:59:58 +bigtest.info
- 47 47 0.0% 29-May-00 18:56:28 +conio.h
- 59 43 27.1% 29-May-00 18:52:54 +minmax.h
- 238 151 36.5% 29-May-00 18:51:42 +SCOPTIONS
- 323 134 58.5% 29-May-00 18:55:28 +smakefile
- 274 119 56.5% 29-May-00 18:58:22 +smakefile68k
- -------- ------- ----- --------- --------
- 77189 34679 55.0% 29-May-100 22:24:34 13 files
-